/*
 * @Description: 按需引用 element-ui
 * @Version: 1.0
 * @Autor: wq
 * @Date: 2021-08-04 13:49:55
 * @LastEditors: wq
 * @LastEditTime: 2021-08-06 13:24:17
 * @FilePath: \vue_project\mmpt\src\elementui\index.js
 */

import Vue from 'vue'

import { 
    Button,
    Message,
    Select,
    Option,
    Pagination,
    Table,
    Dialog,
    MessageBox,
    Loading,
    Carousel,
    CarouselItem,
    Container,
    Main,
    Header,
    Breadcrumb,
    BreadcrumbItem
   
} from 'element-ui';

Vue.use(Button)
Vue.use(Select)
Vue.use(Option)
Vue.use(Pagination)
Vue.use(Table)
Vue.use(Dialog)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Container)
Vue.use(Main)
Vue.use(Header)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Loading.directive);

Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$loading = Loading.service;